//
//  MainHeaderCollectionViewCell.m
//  Bettle
//
//  Created by panhongliu on 2017/1/5.
//  Copyright © 2017年 panhongliu. All rights reserved.
//

#import "MainHeaderCollectionViewCell.h"

@implementation MainHeaderCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setHeadermodel:(MaincellModel2 *)headermodel{

    _headermodel = headermodel;
    NSURL *url= [NSURL  URLWithString:headermodel.advertImage];
    [self.titleImageView sd_setImageWithURL:url];
     self.titleLable.text = headermodel.advertTitle;
     self.adresslalbe.text= headermodel.advertId;
     self.personwrite.text= headermodel.signature;
     //self.Priselable.text = headermodel.;
    


}

@end
